
// <copyright file="IDifferentTypeComparer.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The DifferentTypeComparer interface.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Contracts
{
    /// <summary>
    /// The DifferentTypeComparer interface.
    /// </summary>
    /// <typeparam name="T1">
    /// The type of the 1.
    /// </typeparam>
    /// <typeparam name="T2">
    /// The type of the 2.
    /// </typeparam>
    public interface IDifferentTypeComparer<in T1, in T2>
    {
        #region Public Methods and Operators

        /// <summary>
        /// The compare.
        /// </summary>
        /// <param name="x">
        /// The x.
        /// </param>
        /// <param name="y">
        /// The y.
        /// </param>
        /// <returns>
        /// The <see cref="int"/>.
        /// </returns>
        int Compare(T1 x, T2 y);

        #endregion Public Methods and Operators
    }
}